package com.axonactive.yolo.dao.interfaces;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.axonactive.yolo.domain.TaskUserId;

public interface TaskUserIdRepository extends JpaRepository<TaskUserId, Integer>{
	
	public List<TaskUserId> findByTaskId(String taskId);
	
	public List<TaskUserId> findByUserId(int userId);
	
	public TaskUserId findByUserIdAndTaskId(int userId, String taskId);

}
